package config;

//定义常量类
public class Config {
    //每块64字节
    public static final int BLOCK_SIZE = 64;
    // 128块
    public static final int BLOCK_COUNT = 128;
    //模拟磁盘大小
    public static final int DISK_SIZE = BLOCK_SIZE * BLOCK_COUNT;
    // 模拟磁盘文件名
    public static final String DISK_FILE = "disk.dat";
    // FAT占用块0和块1
    public static final int FAT_BLOCKS = 0;
    public static final int FAT_BLOCKS2 = 1;
    // 根目录块号
    public static final int ROOT_BLOCK = 2;
    //空闲块标记为0
    public static final byte FREE = 0;
    //文件最后一个占用快标记为255
    public static final byte END = (byte) 255;
    //已损坏的块标记为254
    public static final byte BAD = (byte) 254;
}
